package com.huawei.appmarket.service.usercenter.personal.view.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import com.huawei.appmarket.service.usercenter.personal.view.card.PushNoticeOverseaCard;
import o.cht;
import o.cih;
import o.der.g;

public class PushNoticeOverseaNode extends cht {
    public PushNoticeOverseaNode(Context context) {
        super(context, 1);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
        cih pushNoticeOverseaCard = new PushNoticeOverseaCard(this.ॱ);
        View view = (RelativeLayout) LayoutInflater.from(this.ॱ).inflate(g.ᐝ, null);
        pushNoticeOverseaCard.ˏ(view);
        ˊ(pushNoticeOverseaCard);
        viewGroup.addView(view, layoutParams);
        return true;
    }
}
